/* ==============================================
   友链页面设计
   ============================================== */
.single-page .page-friend-bg {
	height: auto;
	margin: 5rem 0;
	display: block;
}

.single-page .article-header-bg.page-friend-bg figure:after {
	content: "";
	background: hsl(0deg 0% 0% / 50%);
	mask: none;
	-webkit-mask: none;
}

.single-page .article-header-bg.page-friend-bg hgroup {
	display: block;
	padding: 0;
}

.single-page .page-friend-wrapper {
	padding: 1rem;
	margin: 1rem 0;
	background: var(--color-white-15);
	border-radius: 10px 10px 0 0;
}

.single-page .friend-list {
	display: grid;
	margin: 1rem;
	gap: .5rem;
	position: relative;
	grid: auto / repeat(auto-fill, minmax(min(22rem, 100%), 1fr));
	transition: all 0.5s ease-in-out;
}

.single-page .friend-list .profile-pic {
	position: absolute;
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	top: 3px;
	left: 3px;
	z-index: 1;
	border-radius: 10px;
	border: 0px solid var(--color-background-blue);
	overflow: hidden;
	transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
}

.single-page .profile-pic img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: 0px 0px;
	object-position: 0px 0px;
	transform-origin: 45% 20%;
	transition: all 0.5s ease-in-out 0s;
}

.friend-list .bottom {
	position: absolute;
	bottom: 3px;
	left: 3px;
	right: 3px;
	background: var(--color-blue-80);
	top: 80%;
	z-index: 0;
	border-radius: 10px;
	box-shadow: var(--shadow-default);
	overflow: hidden;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.friend-list .bottom .content {
	position: absolute;
	bottom: 0;
	left: 1.5rem;
	right: 1.5rem;
	height: 160px;
}

.friend-list .bottom .content .name {
	display: block;
	font-size: 1.2rem;
	color: white;
	font-weight: bold;
}

.friend-list .bottom .content .description {
	display: block;
	font-size: 0.9rem;
	color: white;
	margin-top: 1rem;
}

.friend-list .bottom .content {
	position: absolute;
	bottom: 0;
	left: 1.5rem;
	right: 1.5rem;
	height: 160px;
}

.friend-list .bottom .bottom-bottom {
	position: absolute;
	bottom: 1rem;
	left: 1.5rem;
	right: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.friend-list .bottom .bottom-bottom .button {
	background: var(--color-background);
	color: var(--color-accent-blue);
	border: none;
	border-radius: 10px;
	font-size: 0.6rem;
	padding: 0.4rem 0.6rem;
	box-shadow: var(--shadow-light);
}

.friend-list .bottom .bottom-bottom .button:hover {
	background: var(--color-accent-blue);
	color: white;
}

.friend-card {
	position: relative;
	border-radius: 10px;
	min-width: 22rem;
	height: 18rem;
	background: var(--color-white-80);
	transition: all 0.5s ease-in-out;
	width: 100%;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}

.friend-card:hover {
	border-top-left-radius: 55px;
}

.friend-card:hover .bottom {
	top: 20%;
	border-radius: 80px 10px 10px;
	transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.friend-card:hover .profile-pic {
	width: 100px;
	height: 100px;
	aspect-ratio: 1;
	top: 10px;
	left: 10px;
	border-radius: 50%;
	border: 7px solid var(--color-accent-blue);
	box-shadow: var(--shadow-light);
	transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}

.friend-card:hover .profile-pic:hover {
	transform: scale(1.3);
	border-radius: 0px;
}


/* ==============================================
   音乐文章设计
   ============================================== */
.single-page .music-header-bg {
	height: auto;
	margin: 5rem 0;
	display: block;
}

.single-page .article-header-bg.music-header-bg figure:after {
	content: "";
	background: hsl(0deg 0% 0% / 50%);
	mask: none;
	-webkit-mask: none;
}

.music-header-content {
	position: relative;
	min-width: 0;
	max-width: var(--layout-max-article-width);
	width: 100%;
	padding: 1rem;
	margin: var(--space-md) auto;
	color: var(--color-text-primary);
	line-height: 2;
	animation: opacity .5s 1s var(--easing-bounce) backwards;
}

.music-header-content h3.music-title {
	z-index: 1;
	position: relative;
	margin: 3rem auto;
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.5rem, 2vmax, 2rem);
	color: var(--color-white-80);
}

.music-header-content .main-content {
	margin: 3rem auto;
	color: var(--color-background);
}

/* 磨砂评论样式 */
.music-header-content .comments_lie h3 {
	color: var(--color-background);
}

.music-header-content .comment-list .comment-body {
	background: var(--color-white-15);
	color: var(--color-background);
}
.music-header-content .comment-list .comment-children .comment-body {
	background:none;
}

.music-header-content .comment-textarea,
.music-header-content .form-input,
.music-header-content .comment-list .comment-body .comment-avatar,
.music-header-content .comment-list .comment-body .comment-content .comment-text,
.music-header-content .respond .comment-footer button#cancel-comment-reply-link {
	color: var(--color-background);
}
/* ==============================================
   书单文章设计
   ============================================== */
.post-books-main{
    display: grid;
    grid-template-columns: 40% calc(60% - var(--space-md));
    grid-gap: var(--space-md);
    margin: 5rem 0;
    padding: 1rem;
}
@media (max-width: 768.9px) {
    .post-books-main{
        grid-template-columns: none!important;
    }
}
.post-books-left {
    position: relative;
}
.post-books-left .book-cover{
    height: calc(100vh - var(--layout-nav-height) - 1rem);
    position: sticky;
    border-radius: 10px;
    overflow: hidden;
    top: var(--layout-nav-height);
    transition: .5s;
}
.post-books-left .book-cover:hover .leftinfo{
    opacity: 0;
}
@media (max-width: 768.9px) {
    .post-books-left .book-cover{
        height: 50vh;
    }
}
.post-books-left .book-cover img{
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    filter: brightness(0.9) blur(.5px);
    transition: 1s;
}
.post-books-left .leftinfo{
    position: absolute;
    bottom: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    transition: .5s;
    gap: var(--space-md);
    text-shadow: 0.1em 0.1em var(--color-blue-20);
}
.post-books-left .leftinfo > *{
    display: flex;
    font-size: .9em;
    color: var(--color-background);
    gap: var(--space-sm);
}
.post-books-left .leftinfo svg{
    width: 1.5em;
}
.books_lie .comment-list .comment-body {
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}
.books_lie{
    max-height: 35rem;
    scroll-snap-type: y mandatory;
    overflow: scroll visible;
    scrollbar-width: none;
}
@media (max-width: 768.9px) {
    .books_lie{
        max-height: none;
    }
}
.books_lie .comment-list {
    counter-reset: comment-counter; /* 初始化计数器 */
    list-style: none; /* 移除默认列表样式 */
    padding-left: 0; /* 移除默认缩进 */
}
.books_lie .comment-body::before {
    counter-increment: comment-counter; /* 递增计数器 */
    content: counter(comment-counter); /* 显示计数器值 */
    width: 20px;
    height: 20px;
    min-width: 2em;
    background: var(--color-blue-20);
    color: var(--color-background-blue);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: .6em;
}
.books-container .comment-footer .submit-btn{
    line-height: 2.2;
}
.post-books-main .main-content{
    background: var(--color-white-80);
    padding: var(--space-md);
    border-radius: 10px;
    outline: 1px solid var(--color-blue-5);
}
.post-books-main .main-content .comments_off{
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin: 5rem 0;
    color: var(--color-text-secondary);
}

/* ==============================================
   磨砂文章设计
   ============================================== */
.photos-header-bg{
    /* 白变黑 */
    --color-white-80:#5A5A5A;
    --color-background:#5A5A5A;
}
.single-page .photos-header-bg {
	height: auto;
	margin: 5rem 0;
	display: block;
}

.single-page .photos-header-bg figure img{
    filter: blur(1rem) opacity(.3);
}
.single-page .article-header-bg.photos-header-bg figure:after {
    display: none;
}

.photos-header-content {
	position: relative;
	min-width: 0;
	max-width: var(--layout-max-article-width);
	width: 100%;
	padding: 1rem;
	margin: var(--space-md) auto;
	color: var(--color-text-primary);
	line-height: 2;
	animation: opacity .5s 1s var(--easing-bounce) backwards;
}

.photos-header-content h3.photos-title {
	z-index: 1;
	position: relative;
	margin: 3rem auto;
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.5rem, 2vmax, 2rem);
	color: var(--color-white-80);
}

.photos-header-content .main-content {
	margin: 3rem auto;
	color: var(--color-background);
}

/* 磨砂评论样式 */
.photos-header-content .comments_lie h3 {
	color: var(--color-background);
}

.photos-header-content .comment-list .comment-body {
	background: var(--color-white-50);
	color: var(--color-background);
}
.photos-header-content .comment-list .comment-children .comment-body {
	background:none;
}

.photos-header-content .comment-textarea,
.photos-header-content .form-input,
.photos-header-content .comment-list .comment-body .comment-avatar,
.photos-header-content .comment-list .comment-body .comment-content .comment-text,
.photos-header-content .respond .comment-footer button#cancel-comment-reply-link {
	color: var(--color-background);
}
/* ==============================================
   长图文章设计
   ============================================== */
.article-header-bg.article-say-bg{
    height: 100vh;
}
/* ==============================================
   底部增加设计
   ============================================== */
.footer-main .parallax>use:nth-child(1) {
	fill: var(--color-background-blue);
}

.footer-main .parallax>use:nth-child(2) {
	fill: var(--color-background-blue);
}

.footer-main .parallax>use:nth-child(3) {
	fill: var(--color-background-blue);
}

.footer-main .parallax>use:nth-child(4) {
	fill: var(--color-background-blue);
}

.footer-main .waves-box {
	bottom: 0;
	top: -20px;
}

.footer-main {
	position: relative;
}
